package com.test;

import java.util.List;

import com.dao.AccountDao;
import com.mode.BBSAccount;

public class test {
	public static void main(String[] args){
		BBSAccount a=new BBSAccount();
		AccountDao acc=new AccountDao();
//		a.setAccountId(1);
//		a.setNickName("word");
//		a.setsEmail("shso");
//		a.setPassWord(123);
//		acc.insert(a);
		List<BBSAccount> bbsList = acc.find(a);
		for (BBSAccount b : bbsList) {
			System.out.println(b.getClass()+"\t"+b.getAccountId()+"\t"+b.getNickName());
		}
	}
}
